import request from '@/utils/request'

export async function getStoreList(params) {
  return request({
    url: '/admin/getStoreList',
    method: 'get',
    params,
  })
}

export async function getList(data) {
  return request({
    url: '/admin/staffList',
    method: 'post',
    data,
  })
}

export async function doEdit(data) {
  return request({
    url: '/admin/staffEdit',
    method: 'post',
    data,
  })
}

export async function doDelete(data) {
  return request({
    url: '/admin/staffDel',
    method: 'post',
    data,
  })
}
